package com.rx.service;

import java.util.List;

public interface BaseServiceI<T> {
	//添加用户
		public boolean add(T t) throws Exception;
		//修改用户
		public boolean modify(T t) throws Exception;
		//删除用户
		public boolean remove(int id) throws Exception;
		//获取记录方法
		public List<T> getAll() throws Exception;
}
